← Back to issue list

Duplicated /root/stage in path

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1989139
Type
issue
State
open
Author
~nteodosio
Labels
Created
2022-09-08 17:35:57.456901+00:00
Updated
2022-09-08 17:35:58.575550+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I see a strange behavior in Snapcraft 7.1.3 when building the attached snapcraft.yaml. >>> Execution >>> $ snapcraft clean --use-lxd $ snapcraft prime --debug --shell-after --use-lxd ... Staging va-drivers + set -ex + snapcraftctl stage + strip /root/stage/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so strip: '/root/stage/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so': No such file Failed to run 'override-stage': Exit code was 1. snapcraft-chromium # find / -name 'iHD*.so' 2>/dev/null /root/project/squashfs-root/root/stage/usr/lib/dri/iHD_drv_video.so /root/stage/root/stage/usr/lib/dri/iHD_drv_video.so /root/parts/va-drivers/install/root/stage/usr/lib/dri/iHD_drv_video.so /root/parts/va-drivers/build/media_driver/iHD_drv_video.so <<< Execution <<< As far as I understand, either /root/stage/root/stage is a wrong place to stage that file, or "$SNAPCRAFT_STAGE" is wrong, since the error comes from strip "$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri/iHD_drv_video.so"

Evaluation history

No evaluation history available.